package com.hst.capacity.domain.repository.redis;

import com.hst.capacity.domain.model.entity.auth.TokenEntity;
import com.hst.capacity.domain.model.response.setting.RouteVO;

import java.util.HashMap;

public interface RouteRedis {

    static final String ROUTE_KEY = "route:%s";

    void writeRouteValue(String keySuffix, RouteVO vo);

    RouteVO getRouteValue(String keySuffix);

    RouteVO calOrderDistance(int coordinateType, String origins, String destinations);

    RouteVO calOrderDistance(int coordinateType, String origins, String destinations, HashMap<String, Object> reqParams);

}